package com.huang.eduservice.client;

import com.hunag.utils.orderVo.UcenterOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-ucenter")
@Component
public interface UcenterClient {

    @GetMapping("/educenter/ucenter-member/getUcenter/{id}")
    public UcenterOrder getUcenter(@PathVariable(value = "id") String id);
}
